The invention relates to a dual-
mode selection prediction method for a complex texture in
bandwidth compression, which comprises the steps of: partitioning a to-be-encoded
video image into a pluralityof
macro blocks, and determining a to-be-encoded pixel component; by adopting an adaptive template prediction method, selecting a first reference pixel of each currently encoded pixel in a currentlyencoded
macro block in an adaptive template, and calculating to obtain a group of first predicted residuals; by adopting an adaptive rectangular window prediction method, selecting a second referencepixel of each currently encoded pixel in the currently encoded
macro block in a rectangular prediction search window, and calculating to obtain one group of second predicted residuals; calculating a first subjective difference according to one group of first predicted residuals, and calculating a second subjective difference according to one group of second predicted residuals; and comparing the first subjective difference with the second subjective difference, and determining an optimal prediction method of the currently encoded macro block to obtain one group of optimal predicted residuals.The dual-
mode selection prediction method uses the macro blocks as prediction units, and according to different texture characteristics in different regions of the image, the optimal
prediction methods are adaptively selected, so that the dual-
mode selection prediction method is better in prediction effect.