0% found this document useful (0 votes)
57 views4 pages

New Motion Estimation Algorithm and Its Block-Matching Criteria Using Low-Resolution Quantization

The document proposes a new motion estimation algorithm that uses low-resolution quantization to reduce computational cost. It employs a two-step search process. The low-resolution search calculates a block-matching criterion using low-resolution images to find candidate positions for the motion vector. The full-resolution search then calculates the standard block-matching criterion (SAD) at the candidate positions using full-resolution images to determine the actual motion vector. Two new block-matching criteria called DPC and PSAD are introduced for use in the low-resolution search. The algorithm adaptively quantizes pixel values to minimize information loss during low-resolution processing. It further reduces computations by selecting a subset of areas as candidate search windows. Simulation results show

Uploaded by

Sagar Badnerkar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views4 pages

New Motion Estimation Algorithm and Its Block-Matching Criteria Using Low-Resolution Quantization

The document proposes a new motion estimation algorithm that uses low-resolution quantization to reduce computational cost. It employs a two-step search process. The low-resolution search calculates a block-matching criterion using low-resolution images to find candidate positions for the motion vector. The full-resolution search then calculates the standard block-matching criterion (SAD) at the candidate positions using full-resolution images to determine the actual motion vector. Two new block-matching criteria called DPC and PSAD are introduced for use in the low-resolution search. The algorithm adaptively quantizes pixel values to minimize information loss during low-resolution processing. It further reduces computations by selecting a subset of areas as candidate search windows. Simulation results show

Uploaded by

Sagar Badnerkar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

New Motion Estimation Algorithm and Its Block-Matching Criteria Using Low-Resolution Quantization

Seongsoo Lee and Soo-Ik Chae


School of Electrical Engineering, Seoul National University San 56-1, Shinlim-dong, Kwanak-gu, Seoul, 151-742, KOREA Phone: +82-2-880-1815, Fax: +82-2-882-4656, E-Mail: [email protected]

Abstract - We propose a new motion estimation algorithm and its block-matching criteria using low-resolution quantization. The proposed algorithm reduces both the huge computational cost of the full search algorithm and the performance degradation of the fast algorithms by matching the low-resolution images. Two search steps called the lowresolution search and the full-resolution search are employed. Simulation results show that the PSNR of the proposed algorithm is superior to those of the 4:1 alternate subsampling algorithm with less computational cost. Its computational cost is 1/38.1 of the full search algorithm.

The block-matching criterion plays an important role in the motion estimation algorithm, and occupies the majority of the computational cost. The SAD is widely used in most conventional motion estimation algorithm because of its efficiency and simplicity, but it is impractical for VLSI implementation as the search window is larger. Therefore, the need for new low-computational-cost block-matching criterion is emerging. The computational cost of the block-matching criterion can be lowered if low bit-resolution image is used, because the operation of the low bit-resolution requires less hardware (i.e. less computational cost) than that of full bitresolution [5]. In this paper, two block-matching criteria called the different pixel count (DPC) and the pseudo-SAD (PSAD) are proposed, and will be described in Section II-A. The low bit-resolution block-matching criterion is effective in the computational cost, but suffers from the performance degradation because the reduction in bitresolution means the loss of pixel information. Indeed, the low bit-resolution block-matching criterion is only the approximation of the conventional one, and only indicates that the position has high possibility to be a correct motion vector. Consequently, the proposed algorithm employs two steps called low-resolution search (LRS) and full-resolution search (FRS), as shown in Fig. 1. The LRS calculates the DPC or PSAD from the lowresolution image and finds a set of candidate positions for motion vector (CMV set). The FRS calculates the SAD from the full-resolution image (i.e. original image) at each CMV position, and finds the motion vector. The pixel value should be quantized to minimize the quantization error, and this will be described in Section II-B. Huge computational cost of the conventional motion estimation algorithm is mainly due to the large search

I. INTRODUCTION The block-matching motion estimation algorithm, in which the current frame is partitioned into equal-sized reference blocks and the best matching block of each reference block is searched in the previous frame, is widely used in image compression because of its simplicity and high efficiency. The full search algorithm [1] is optimum in the compression ratio, but the huge computational cost makes it impractical when the search window is large. To overcome this problem, several fast algorithms [2]-[4] are proposed, but they suffer from poor performance due to the local minima. In this paper, we explain new motion estimation algorithm and block-matching criteria using low-resolution quantization. The reference block is compared at every search position to avoid a local minimum, and the lowresolution quantized images are matched to reduce the computational cost. Two-step search is employed to reduce the performance degradation due to matching lowresolution quantized image. II. THE PROPOSED ALGORITHM

window. To further reduce this computational cost, only part of the search window is selected as the candidate area for search window (CSW set) and the motion estimation is performed in each CSW area in the proposed algorithm. The selection of the CSW is described in Section II-C.

the PSAD is the N2 accumulation of k-bit value when the kbit low-resolution image is used. The designer should choose either the DPC or the PSAD considering the tradeoff between the performance and the computational cost. B. Generation of the low-resolution image

low-resolution search (LRS) candidate for search window determination candidate for motion vector determination

full-resolution search (FRS)

Fig. 2 illustrates the generation of the low-resolution image. To preserve the dynamic range of the pixel value maximally, each pixel value is subtracted by the block mean, and then quantized. To reduce the computational cost to calculate the block mean, only the mean of the reference block is used for the low-resolution image of both the reference block and the search window. Simulation results indicate that 2-bit resolution is optimal in both performance and computational cost.
reference block mean
178 129 180 127 128 131 78 125 76

CSW set

CMV set

motion vector determination

motion vector

Fig. 1. Block diagram of the proposed algorithm.

A. Block-matching criterion of the low-resolution image The block-matching criterion of the low-resolution image should satisfy three conditions: Low computational cost, Good approximation of the SAD, and Simple VLSI implementation. We propose two hardware-oriented blockmatching criteria: the DPC and the PSAD. The DPC is the number of pixels whose low-resolution quantized code, and is defined in (1). The DPC calculation can be implemented by simple logic gates instead of 8-bit adders in SAD calculation. Therefore, the computational cost is greatly reduced. DPC ( u, v ) =
N N

quantization threshold
01 00 01 00 10 11 10 01 00 11 00 10 11

mean subtraction

full-resolution image

quantization

low-resolution image

Fig. 2. Generation of the low resolution image.

i =1 j =1

f k (i, j ), f k 1(i + u, j + v )

The performance degradation of the proposed algorithm (1) is mainly due to the loss of pixel information. Therefore, the quantization thresholds of each reference block are adaptively determined to minimize the average quantization error, and they can be calculated from the non-linear quantization theory [6]. For 2-bit quantization, the three quantization thresholds t1, t2, t3 are given in (3).
3 t3 = t1 = 2 f k ( i, j ) f k , t2 = 0 i =1 j =1 N N

where fk(x, y) is the quantized code at the position (x,y) in k-th frame, and ( x , y ) = 1 if x y , 0 otherwise. The PSAD is the sum of absolute difference of the reconstructed pixel value, and is defined in (2). It is the approximation of the SAD in the low-resolution. In 2-bit resolution, the PSAD calculation can be implemented by simple logic gates like the case of the DPC.
N N ~ ~ PSAD(u, v) = fk (i, j ) fk 1 (i + u, j + v) i =1 j =1

(3)

(2)

where f k ( x , y ) is the pixel value at the position (x,y) in kth frame, and f k is the mean of f k ( x , y ) . C. Selection of the candidate area for search window When the picture size becomes larger, the maximum value of the motion vector also becomes larger. Therefore, the search window should also become larger, which results in the increase of the computational cost. To overcome this problem, the search window is partitioned into many small area, and the candidate areas for search window (CSW set)

~ where fk (x, y) is the reconstructed pixel value at the position (x,y) in k-th frame.

The PSAD is more accurate than the DPC as the blockmatching criterion because the PSAD is more analogous to the SAD than the DPC. But in the viewpoint of computational cost, the DPC is better than the PSAD because the DPC is the N2 accumulation of 1-bit value and

is selected using low-resolution block-matching criterion in the proposed algorithm. Then, the motion estimation is performed only in each CSW area. Selection of the CSW set need not be very accurate, because we have to know only the area which the motion vector is in, not the exact position of the motion vector. In the proposed algorithm, both the reference block and the search window are 4:1 averaging subsampled, and then are compared. Thus, the computational cost of the CSW selection is negligibly low. Fig. 3 illustrates the selection of the CSW set when the search window is 64x64. The search window is partitioned into 21 16x16 areas, and the motion estimation lowresolution block-matching criterion. In the proposed algorithm, the PSAD is used in the CSW selection. The minimum PSAD score within the 16x16 area is determined as the PSAD score of the area, and the K areas which have the minimum PSAD scores are determined as the CSW set.

-32 -32

31

(1) For each NN reference block in the current frame, the mean of the reference block is calculated and the quantization threshold is determined. (2) Pixel values of both the reference block and the search window are 4:1 averaging subsampled. (3) The subsampled pixels are subtracted by the block mean, and the quantized in 2-bit resolution to generate a low-resolution images. (4) The MM search window is partitioned into 21 M/2 M/2 areas, and the PSAD score is calculated in each area. The 4 areas with minimum PSAD are determined as the CSW set. (5) For 4 CSW areas, the pixels in the reference block and the search window are subtracted by the block mean, and the quantized in 2-bit resolution to generate a lowresolution images. This step is essentially same as (3), except that in (5) unsubsampled pixels are used. (6) For 4 CSW areas, the DPC is calculated for every search position in the CSW area. 2 search positions with minimum DPC are found in every row of search position for the purpose of pipelining, and determined as the CMV sets. (7) The SAD at each CMV position is calculated with fullresolution images. The candidate with minimum SAD is determined as the motion vector of a given reference block. To reduce the computational cost, 4:1 alternate subsampling [4] is used. III. SIMULATION RESULTS

31

In this paper, the computational cost is defined as (total cycle per reference block) x (total gate count of all PE's). This computational cost proportional to the rough estimation of the PE hardware amount when the throughput of the all algorithm is the same. The peak signal-to-noise

CSW #1 CSW #2 CSW #3 CSW #4


Fig. 3. The selection of the CSW.

ratio (PSNR) is used as a performance measure. In the computational cost of the proposed algorithm, the gate counts of the quantizer, block mean calculation, and the quantization threshold determination are included. Computer simulations were carried out on 40 frames of "football", "flower garden", "table tennis", and "popple" sequences, whose picture formats are CCIR601 (704 x 480 pixels, 8 bit/pixel, 30 frame/sec). The reference block size is 16 x 16, and the search window size is 64 x 64 (the range of motion vectors is (-32,-32)~(31,31)).

Besides 16 non-overlapping 16x16 areas, 5 additional areas are employed. This comes from the fact that most of the movement in the real world are horizontal only or vertical only. D. The proposed algorithm The outline of the proposed algorithm is as follows:

TABLE I COMPUTATIONAL COSTS AND SIMULATION RESULTS.

Algorithm FS [1] 4:1AS [4] 1DFS [2] LRQME [5] Proposed

cycle per reference block 1,024 1,028 1,920 1,024 1,024

total gate count of all PEs 400,384 100,096 12,512 32,416 10,504

computational cost (gate cycle / block) 4.10 108 1.03 108 2.40 107 3.31 10
7

average PSNR (dB) football 25.11 24.65 23.67 24.99 24.87 flower garden 27.03 26.96 26.66 26.97 26.95 table tennis 28.26 28.04 27.29 28.23 28.15 popple 30.01 29.77 29.76 29.92 29.81

1.08 107

steps: the low-resolution search that generates candidates


26 25.5 25 PSNR (dB) 24.5 24 23.5 23 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 frame number FS 4:1AS 1DFS proposed

for search window and candidates for motion vectors, and the full-resolution search that finds the best motion vector in the candidates from the low-resolution search. The PSNR difference between the proposed algorithm and the full search is less than 0.24 dB, while the computational cost is reduced to 1/38.1. The PSNR of the proposed algorithm is superior to those of 4:1 alternate subsampling algorithm and the one-dimensional full search algorithm with less computational cost. REFERENCES
[1] J. R. Jain and A. K. Jain, "Displacement measurement and its application in interframe image coding," IEEE Trans. Commun., vol. COM-29, no. 12, pp. 1799-1808, Dec. 1981. M. J. Chen, L. G. Chen, and T. D. Chiueh, "One-dimensional full search motion estimation algorithm for video coding," IEEE Trans. Circuits Syst., vol. 4, no. 5, pp. 504-509, Oct. 1994. T. Koga, "Motion compensated interframe coding for videoconferencing," Proc. Nat. Telecommun. Conf., pp. G5.3.1-G5.3.5, 1981. B. Liu and A. Zaccarin, "New fast algorithms for the estimation of block motion vectors," IEEE Trans. Circuits Syst. Video Technol., vol. 3, no. 2, pp. 148-157, Apr. 1993. S. Lee and S.-I. Chae, "Motion estimation algorithm exploiting lowresolution quantization," IEE Electronic Letters, vol. 32, no. 7, pp. 647-648, Mar. 1996. N. Jayant and P. Noll, "Digital coding of waveforms," Prentice-Hall, pp. 131, 1984.

Fig. 4. PSNR for the "football" sequences.

The computational cost and the simulation results of the full search (FS), the one-dimensional full search (1DFS), the 4:1 alternate subsampling (4:1AS), the low-resolution quantization motion estimation algorithm (LRQME), and the proposed algorithm are summarized in Table I and Fig. 4. The results show that the PSNR degradation of the proposed algorithm with respect to the full search algorithm is less than 0.24dB with 1/38.1 computational cost. Furthermore, the PSNR of the proposed algorithm is superior to those of 4:1AS and 1DFS, with less computational cost.

[2]

[3]

[4]

[5]

[6]

IV. CONCLUSION In this paper, a new motion estimation algorithm using low-resolution quantized image is proposed. Two new block-matching criteria called the different pixel count and the pseudo-SAD, are also proposed. To improve the performance, the proposed algorithm employs two search

You might also like