170 likes | 308 Views
Enabling Aladin for JPEG2000. JT Malarecki Supervisor: A/Prof Slava Kitaeff. Project description. Problem There is an ongoing challenge to manage and work with increasingly large data sets Solution Compression JPEG2000 and the JPEG2000 Interactive Protocol Aladin Task
E N D
Enabling Aladin for JPEG2000 JT Malarecki Supervisor: A/Prof SlavaKitaeff
Project description • Problem • There is an ongoing challenge to manage and work with increasingly large data sets • Solution • Compression • JPEG2000 and the JPEG2000 Interactive Protocol • Aladin • Task • Develop a new data access layer in Aladin for JPEG2000 Enabling Aladin for JPEG2000
JPEG2000 • A successor to JPEG • Features • High performance at low bit rates • Progressive transmission by pixel accuracy and resolution • Random access and processing • Low compression ratios do not impact data integrity • JPIP • Ensures efficiency when working with remote images Enabling Aladin for JPEG2000
Aladin • Advantages • Very large user base, widely used • Source code publicly available • Already compatible with many image formats • Part of the Virtual observatory, giving access to many collections of astronomical images • Disadvantages • Very large code base ~100,000 lines of code Enabling Aladin for JPEG2000
Approach • Working with the Kakadu library • Using JNI to interface C++ and Java • Created a renderer class to handle all interactions from Aladin • Aladin modifications • Checks to recognise JPEG 2000 format images • GUI additions e.g. dialogue to allow opening JPIP URLs • Changes to handle asynchronous image update events Enabling Aladin for JPEG2000
Results • Renderer performance • Responsive at native screen resolution • Kakadu provides gains when utilising multiple threads • Image size: 377MB Enabling Aladin for JPEG2000
Results • Renderer performance • Lossless image • Original size: 512MB • Compressed: 34.9MB • Ratio: ~14.7 Enabling Aladin for JPEG2000
Results • Renderer performance • Lossy image • Original size: 512MB • Compressed: 191kB • Ratio: ~2680 Enabling Aladin for JPEG2000
Results • Working with JPEG2000 Enabling Aladin for JPEG2000
Results • Working with JPEG2000 Enabling Aladin for JPEG2000
Results • JPIP Performance Enabling Aladin for JPEG2000
Results • JPIP Performance Enabling Aladin for JPEG2000
Results • JPIP Performance Enabling Aladin for JPEG2000
Results • JPIP Performance Enabling Aladin for JPEG2000
Results • JPIP Performance Enabling Aladin for JPEG2000
Results • JPIP Performance Enabling Aladin for JPEG2000
Conclusion • Successes • Produced a simple Java interface for working with JPEG2000 • Enabled Aladin to display JPEG2000 images both locally and via JPIP • A FITS header stored in JPEG2000’s metadata header can be used to provide enhanced functionality in Aladin • JPEG2000 ensures Aladin will remain an invaluable tool well into the future • Future work • Make use of JPEG2000 metadata header • Work with JP3D when it becomes finalised and available Enabling Aladin for JPEG2000