摘要 |
An apparatus encodes a binary shape signal by using a zig-zag scanning technique. The apparatus zig-zag scans the binary shape signal to thereby output each of the pixels in the binary shape signal sequentially in order of scanning. Then, a context corresponding to each of the pixels is selected from pixels processed prior to said each of the pixels by taking the scanning order into account. By using the context of said each of the pixels, the apparatus ciphers a context number corresponding to said each of the pixels and detects its probability based on the corresponding context number. Through the above procedure, if the probabilities for all of the pixels in the binary shape signal are detected, the apparatus arithmetically encodes the binary shape signal by using the detected probabilities to thereby produce the encoded binary shape signal. |