Top Banner
Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed
28

Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Jan 11, 2016

Download

Documents

Louisa Waters
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Increasing Image Transfer SpeedIn MSAT Through Image

Compression

David Elies

Akimeka, LLC

Advisor: Steve Schweibinz

Mentor: Rob Reed

Page 2: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Overview

• Medical Situational Awareness in Theater

• NASA WorldWind

• Download speed and image compression

• DDS files

• Transparency

• Conclusions

Page 3: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Medical Situational Awareness in Theater(MSAT)

• Provides military medical decision makers with timely, relevant information

• Assembles information frommultiple sources

• Allows users to view exactly the datathey need

• Can use existing and future data sources

Page 4: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

NASA WorldWind

• Global visualization software

• Similar to Google™ Earth

• Open Source

Page 5: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

NASA WorldWind

Page 6: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

NASA WorldWind

Page 7: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

NASA WorldWind

Page 8: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

NASA WorldWind

Page 9: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Slow Image Downloads

Page 10: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Increasing Transfer Speed by Decreasing File Size

Page 11: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Increasing Transfer Speed by Decreasing File Size

• Images are

512 x 512 pixels

Page 12: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Increasing Transfer Speed by Decreasing File Size

• Images are

512 x 512 pixels

• .dds compressed

file size – 256KB

Page 13: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Increasing Transfer Speed by Decreasing File Size

• Images are

512 x 512 pixels

• .dds compressed

file size – 256KB

• .jpg compressed

file size – 24KB

Page 14: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Decoding the .dds file format

example.dds

Page 15: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Decoding the .dds file format

• Binary01000001010010110100

00010100110101000001

01001001001000000100

10010100111001010100

01000101010100100100

1110

example.dds

Page 16: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Decoding the .dds file format

• Binary

• Consists of:• Header• Body Body

Header

example.dds

Header

Page 17: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Decoding the .dds file format

• Binary

• Consists of:• Header

• Height• Width• Pixel format• Compression

type indicator

example.dds

Header

Page 18: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Decoding the .dds file format

• Binary

• Consists of:• Header• Body

• Image pixelsData

example.dds

Body

Page 19: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Converting the .dds file format

• .dds file is read

• Image is created in memory

• .jpg file is created

01000001010010110100

00010100110101000001

01001001001000000100

10010100111001010100

01000101010100100100

example.dds

01100001011010110110

10010110110101100101

01101011011000010010

11000010000001101100

0110110001100011

new.jpg

Page 20: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Transparency

Page 21: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Transparency

• .dds files use transparency

Page 22: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Transparency

.jpg files do not

Page 23: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Transparency

• Recognize formerly transparent pixels (by color)

Page 24: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Transparency

• Recognize formerly transparent pixels (by color)

• Convert back to .dds, using transparency for specified color

Page 25: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Transparency

• Transparent color may be part of image as well.

Page 26: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Transparency

• Transparent color may be part of image as well

• Transparent pixels may be different colors

Page 27: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Conclusions

.dds images can be transmitted as .jpg

Transmission time was decreased

Transparency was mostly preserved

Some image quality was lost, but loss is negligible

What is the impact on processing speed?

Can we convert files directly w/o intermediate steps?

Can we guarantee proper handling of transparency?

Page 28: Increasing Image Transfer Speed In MSAT Through Image Compression David Elies Akimeka, LLC Advisor: Steve Schweibinz Mentor: Rob Reed.

Acknowledgments

Akimeka, LLC Akamai Workforce Initiative

Deanna Garcia Lani Lebron

Steve Schweibinz Lisa Hunter

Rob Reed

The rest of the MSAT team Akamai Instructors

Maui Community College Nina Arnberg

Mark Hoffman Mike Nassir

Jung Park Dave Harrington

Elizabeth Reader Mike Foley

Mark Pitts

The 2009 Maui Akamai Internship Program is funded by the University of Hawaii, the Department of Business, Economic Development, and Tourism, the National Science Foundation Center for Adaptive Optics (NSF #AST - 9876783).