Patent ID: 8311097

Claim:
An image processing method for RDO based adaptive spatial-temporal resolution frame, comprising: A. computing and obtaining a condition value of a critical code rate by an encoder based on the input video image and a change of the target allocated code rate; B. comparing the condition value of the critical code rate with a threshold value by the encoder, and obtaining an image resolution appropriate for the target allocated code rate via down-sampling if the condition value of critical code rate is smaller than the threshold, the target allocated code rate is smaller than the critical code rate, otherwise performing a general encoding process; C. recovering an original resolution of the received image by a decoder via up-sampling and smoothing it; wherein, said computing and obtaining a condition value of a critical code rate in said step A is performed according to following formulas: Risual x , y , k = H × ( C x , y , k - P x , y , k ) × H T Score = 256 N ⁢ ∑ x , y = 0 X , Y ⁢ ( Risual x , y , k · T x , y , k ) · 0.85 · Qp 2 3 Wherein, C x,y,k represents a reconstructed image generated from encoding and then decoding S x,y,k , S x,y,k represents an image at a time k; P x,y,k represents a predicted image, H is a space-frequency transformation matrix designated by any encoder; Risual x,y,k represents a distribution in frequency domain of a residual generated by encoding C x,y,k ; wherein Qp is a quantization parameter, N is a number of pixels in an area involved in the computing, T x,y,k is a weight properly added in the high-frequency component, and Score is a condition value of the critical code rate.