Presentation is loading. Please wait.

Presentation is loading. Please wait.

Jasper : A software-based JPEG-2000 Codec Implementation

Similar presentations


Presentation on theme: "Jasper : A software-based JPEG-2000 Codec Implementation"— Presentation transcript:

1 Jasper : A software-based JPEG-2000 Codec Implementation
Chien-Chih Liu(劉建志)

2 Outline Reference JPEG2000 JasPer introduction Profile and Performance
Future work

3 Reference Michael D. Adams and Faouzi K.,”Jasper : A software-based JPEG-2000 Codec Implementation” ,Dept. of Elec. And Comp. Engineering, University of British Columbia Vancouver, B.C., Canada Michael D. Adams, “The JPEG-2000 still image compression standard” Michael D. Adams, Jasper Software Reference Manual (Version )

4 Outline Reference JPEG2000 JasPer introduction Profile and Performance
Future work

5 JPEG 2000 standard Part 1, Core coding system Part 2, Extensions
Part 3, Motion JPEG 2000 Part 4, Conformance Part 5, Reference software Part 6, Compound image file format (document imaging, for pre-press and fax-like applications, etc.) Part 7 has been abandoned Part 8, JPSEC (security aspects) Part 9, JPIP (interactive protocols and API) Part 10, JP3D (volumetric imaging) Part 11, JPWL (wireless applications) Part 12, ISO Base Media File Format (common with MPEG-4) Part1~6 complete

6 JPEG 2000 feature Low bit-rate compression performance
20% on average than JPEG Progressive transmission by quality, resolution, component, or spatial locality Over slow communication links Lossy and Lossless compression

7 JPEG 2000 feature(cont) Random code-stream access and processing
Region of interest access Robustness to bit errors Sequential build-up capability Low memory implementation

8 Codec structure Decoder process functions much like the encoding process run backwards

9 Outline Reference JPEG2000 JasPer introduction Profile and Performance
Future work

10 What is JasPer Software tool kit Image Interchange and import/export
C programming language for most platform Code size 40K line of code Import/export supports JP2,JPEG,PNM,BMP,Sun Rasterfile, and PGX formats 碧玉 JP

11 JasPer key concerns Fast execution speed Efficient memory usage
Robustness Portability Modularity Maintainability Extensibility

12 JasPer S/W structure Version 1.701.0 Application program Base Library
jasper.exe jasper.exe jasper.exe jasper.exe Application program Base Library (Image Class) Codec Drivers (JPEG2k,BMP,etc.) JasPer Library

13 JasPer functions The JasPer command Support image formats
jasper[options] imgcmp[options] imginfo[options] jiv[options] Support image formats Value Description bmp Windows BMP jp2 JPEG 2000 jpc JPEG 2000 code stream jpg JPEG pgx PGX pnm PNM/PGM/PPM mif My image format ras Sun Rasterfile

14 Outline Reference JPEG2000 JasPer introduction Profile and Performance
Future work

15 Test images Image Characteristics Description target
Grayscale, 512x512, 8 bpp/component Patterns and textures mat Grayscale, 1528x1146, Mountains Announcer RGB color, 512x480, Woman

16 Profile Lossless Encoding
經由Jasper軟體模擬後發現,幾乎耗費了整個編碼流程執行時間的一半以上,這是由於EBCOT演算法所採取的次位元平面編碼,必須將每個位元平面區分成三個編碼階段執行,並且需要大量位元層次的運算,因此並不適合在一般用途的處理器上執行,因此必需經由ASIC的設計來提升即時運算的速度。 整數模式的 5/3 filter 屬於可逆轉換

17 Profile Lossless Decoding

18 Profile Lossy Encoding
實數模式的 9/7 filter transform 運算量較大 但是轉換效果比較好 比較接近員數值 但是不可逆轉換 Rate control的控制 根據coding pass來決定還有 Q step size

19 Profile Lossy Decoding
Tier-1 coding depends on large extent and bit rate employed

20 Performance comparison
JPEG2k verification model use floating-point arithmetic 利用fixed point的Jasper也可以達到相當接近FP的效果 而不需要有太大的distortion

21 Performance comparison
House.jp2(Lossless transform) 768x512 House.pnm (original image)

22 Performance comparison
CR 4:1 W=64 H=32 PSNR= Code block are 64 samples寬 32 samples 高 House.pnm (original image)

23 Performance comparison
CR 8:1 W=64 H=32 PSNR= House.pnm (original image)

24 Performance comparison
CR 16:1 W=64 H=32 PSNR= House.pnm (original image)

25 Performance comparison
CR 32:1 W=64 H=32 PSNR= House.pnm (original image)

26 Performance comparison
CR 64:1 W=64 H=32 PSNR= PSNR 24.6, 24.7, 24.3 Wblock=64 blocks samples Hblock=32 blocks samples House.pnm (original image)

27 Performance comparison
CR 128:1 W=64 H=32 PSNR= House.pnm (original image)

28 Performance comparison
CR 64:1 W=64 H=32 PSNR= Code blocks大小不同的比較 CR 64:1 W=16 H=8 PSNR=

29 Future work Clean up Speed up Simulation on CCS
Implement using DSP TMS320C6416T

30 Thank you


Download ppt "Jasper : A software-based JPEG-2000 Codec Implementation"

Similar presentations


Ads by Google