ISO/IEC 10918-1 : 1993(E)
TISO1730-93/d111
Code_size
Done
V1 = OTHERS(V1)
V2 = OTHERS(V2)
OTHERS(V1) = V2
Yes
No
No
Yes
No
Yes
CODESIZE(V1) =
CODESIZE(V1) + 1
CODESIZE(V2) =
CODESIZE(V2) + 1
Find V1 for least value of
FREQ(V1) > 0
Find V2 for next least value
of FREQ(V2) > 0
FREQ(V1) =
FREQ(V1) +
FREQ(V2)
FREQ(V2) = 0
V2 exists
?
OTHERS(V1) = 1
?
OTHERS(V2) = 1
?
Figure K.1 Procedure to find Huffman code sizes
Figure K.1 [D111] = 21 cm = 821 % (PAGE PLEINE)
CCITT Rec. T.81 (1992 E)
145