1、KSKSKSKS KS X ISO/IEC 144952SKSKSKS KSKSKS SKSKS KSKS SKS KS 2: KS X ISO/IEC 14495 2:2005 2005 12 26 X ISO/IEC 14495 2:2005 e ( ) ( ) () () () () ( ) : :2002 11 30 :2005 12 26 20050947 : e : e( ) ( 025097272 4) . 7 5 , . X ISO/IEC 14495 2:2005 e . KS X ISO/IEC 14495 2 . A() B() C() D() E() F() G() H
2、() I() J() K() KS X ISO/IEC 14495 “ ” . 1:( KS X ISO/IEC 14495 1) 2:( KS X ISO/IEC 14495 2) i ICS 35.040 KS X ISO/IEC 2: 14495 2:2005Information technology Lossless and near-lossless compression of continuous-tone still images Part 2: Extensions 2003 ISO/IEC 14495 2 Information technologyLossless an
3、d near-lossless compression of continuous-tone still images Part 2:Extensions . 1. ( ), ( ) . ( , , ) . , . . . 2. . | | . IEC ISO , ITU T ITU T . 2.1 | CCITT T.81 (1992) | KS X ISO/IEC 10918 1: 2001 (JPEG) 1: ITU T T.83 (1994) | KS X ISO/IEC 10918 2:2003 (JPEG) 2: ITU T T.84 (1996) | KS X ISO/IEC 1
4、0918 3:2003 (JPEG) 3: ITU T T.87 (1998) | KS X ISO/IEC 14495 1: 2001 2.2 KS X ISO/IEC 9899:2003 C ISO/IEC 646:1991 Information technology ISO 7-bit coded character set for information interchange( ISO 7 ) ISO 5807:1995 Information processing Documentation symbols and conventions for data, program an
5、d system flowcharts, program network charts and system resources charts(, , X ISO/IEC 14495 2:2005 ) 3. 3.1 ITU T Rec.T.87 | KS X ISO/IEC 14495 1: 2001 . 3.1.1 (arithmetic encoder) 3.1.2 (arithmetic encoding) 3.1.3 (arithmetic decoder) 3.1.4 (arithmetic decoding) 3.1.5 (binary context) 3.1.6 (binary
6、 decision) . 3.1.7 (colour transform) 3.1.8 (sign flipping) 3.1.9 (symbol packing) 3.1.10 (visual quantization) 3.2 ITU T Rec. T.87 | KS X ISO/IEC 14495 1: 2001 . FLC (Fixed Length Code) LPS (Less Probable Symbol) MPS (More Probable Symbol) 3.3 ITU T Rec. T.87 | KS X ISO/IEC 14495 1: 2001 . , . Areg
7、 (numerical-line) ArithmeticEncode() C Av030 LPS 31 . Avd Av BASIC_T1, BASIC_T2, BASIC_T3, BASIC_T4 Bin Buf01 (carry-over) Creg (trailing bits) ENT . Flag0MAXVAL MAXVAL 1 GetBinaryContext() C GetByte() C GetGolombk() C Hd 2 X ISO/IEC 14495 2:2005 . LPScnt0MAXS LPS MAXcnt MLcnt LPScnt MAXS MLcnt0MAXS
8、 MPSvalue0MAXS MPS nearq NEARRUN NMCU MCU Prob MLcnt LPScnt LPS Qx S SOF57 JPEG-LS SPf0RANGE RANGE+ 1 SPm0RANGE MErrval EMErrval SPt . SPx T1, T2, T3 T4 TEMErrval EMErrval Th029 Av TMErrval MErrval TQ wct Areg Zerograd 0 4. . ITU T Rec. T.87 | KS X ISO/IEC 14495 1:2001 . ITU T Rec. T.87 | KS X ISO/I
9、EC 14495 1:2001 . , . . ITU T Rec. T.87 | KS X ISO/IEC 14495 1:2001 . 4.1 . . . . ITU T Rec. T.87 | KS X ISO/IEC 14495 1:2001 . . 3 X ISO/IEC 14495 2:2005 a) . b) . . . . . . 4.1.1 JPEGLS ITU T Rec. T.87 | KS X ISO/IEC 14495 1: 2001 , ( ) . , . , ( ) . 255 . A B . 4.1.2 ITU T Rec. T.87 | KS X ISO/IE
10、C 14495 1:2001 NEAR . , . 4.1.2.1 (activity) . ITU T Rec. T.87 | KS X ISO/IEC 14495 1: 2001 NEAR , NEAR=n NEAR =n1 . 4.1.2.2 NEAR NEAR . ITU T Rec. T.87 | KS X ISO/IEC 14495 1:2001 NEAR , . , . . 4.1.3 ITU T Rec. T.87 | KS X ISO/IEC 14495 1:2001 . , ITU T Rec. T.87 | KS X ISO/IEC 14495 1: 2001 A.5 .
11、 ITU T Rec. T.87 | ISO/IEC 14495 1:2000 A.6 . . 4 X ISO/IEC 14495 2:2005 Px . . 4.1.4 Golomb ITU T Rec. T.87 | KS X ISO/IEC 14495 1:2001 . 4.1.4.1 Golomb . “1” , . . 4.1.4.2 . 4.1.5 . . MCU . 4.1.6 ITU T Rec. T.87 | KS X ISO/IEC 14495 1:2001 . . . 4.2 ITU T Rec. T.87 | KS X ISO/IEC 14495 1:2001 A .
12、. A , B . 4.1.2, 4.1.3 4.1.6 . 4.1.4 4.1.5 . . 4.1.2 4.1.3 A . 4.1.2 4.1.3 ITU T Rec. T.87 | KS X ISO/IEC 14495 1: 2001 D . 4.1.4 D . 4.1.5 E . 4.1.6 F . 1 . 1 D D - D E A A B - - F 5 X ISO/IEC 14495 2:2005 5. . ITU T Rec. T.87 | KS X ISO/ IEC 14495 1:2001 G G , . 6. . ITU T Rec. T.87 | KS X ISO/IEC
13、 14495 1: 2001 . . ITU T Rec. T.87 | KS X ISO/IEC 14495 1:2001 . . a) G . b) G . 8. . . , G . 7. . . . F . . , ( ITU T Rec. T.87 | KS X ISO/IEC 14495 1:2001 4.3.2 ). , ITU T Rec. T.87 | KS X ISO/IEC 14495 1:2001 C . , ( ) . ITU T Rec. T.87 | KS X ISO/IEC 14495 1:2001 , . . a) , G . ( ) , . b) ITU T
14、Rec. T.87 | KS X ISO/IEC 14495 1: 2001 C 6 X ISO/IEC 14495 2:2005 . c) , C , . . , G . 8. 8.1 . . . . ITU T T.81 | ISO/ IEC 10918 1 G , ITU T T.81 | ISO/IEC 10918 1 . . 8.2 ( I ) I.2 . I.2 . “ “ I.2 . . 1 . ( .) . ) Pt = 0 . 7 X ISO/IEC 14495 2:2005 ? ? 1 8.3 , . (NEAR = 0) , . (NEAR 0 ) , NEAR . “ “ , I.2 . “ “ . 2 . 8 X ISO/IEC 14495 2:2005 ? 2 9 X ISO/IEC 14495 2:2005 A() ( .) . ( ) ITU T Rec. T.87|KS X ISO/IEC 14495 1:2001 A ( ) . . . . . . 4 5 . . C . . . 8. . A.1 . G . , . 8 . . an, an1, an2,a0 an a0