摘要 |
A method of and apparatus are provided for deciding an intraprediction mode, in which pixels of an input block are labeled according to their pixel values and a directivity is extracted from pixels having the same label to decide the intraprediction mode. The method includes assigning labels to the pixels of the input block according to the pixel values of the pixels, scanning the labeled input block according to a scan table and calculating mode counts of intraprediction modes by counting the intraprediction mode if the pixels at predetermined positions according to a direction of the intraprediction mode are assigned the same label, and deciding the intraprediction mode for the input block using the calculated mode counts.
|