摘要 |
Apparatus, for use in context-based arithmetic encoding of a binary shape signal, generates a bordered block having a border of width D around a target block. In order to produce the bordered block, the apparatus first calculates a weighted mean for each of the border pixels in the bordered block PS1 by using N neighboring pixels A1 to A4 for pixel P1. Each of the weighted means is compared with the larger binary value to thereby assign either the larger or the smaller binary value to each of the border pixels. After the binary value to be assigned to each of the border pixels is determined, the apparatus constructs the bordered block based on the binary values assigned to the border pixels and the binary shape signal. |