YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

Portable Image File Viewer

ENEE 408G: Multimedia Signal ProcessingSeun FabayoJohn Glancy

Gordon Krauthamer

Page 2: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

Overview

• Portable devices have become more and more popular in recent years.– Growth of wireless Internet applications– Remote access to files is becoming a greater

need

• Remote access to image files– Entertainment– Information– Job Related

Page 3: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

Portable Image File Viewer

• A Client/Server Application that allows remote access to image files (bitmaps) on a server computer.– Allows connections to multiple servers providing

access to multiple databases of image files.– Implements JPEG image compression in order to

speed-up download time of files.– Allows remote scaling of files prior to sending in order

to reduce file size and download time if desired.

Page 4: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

Networking

• Works as basic Client/Server application– Client: PocketPC– Server: Image Database

• Server database programs can run on a number of servers on the network

• Allows Client to connect to different server depending on desired application

Page 5: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

Connection OverviewSERVERSCLIENT

Page 6: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

Server

• Implemented in Java– Allows server program to run on any platform that has

a Java Virtual Machine

• Supported Functions– File List Refresh

• Get a list of files found on the Server

– Thumbnail Get• Get a thumbnail of a file on the file list

– File Get• Get a file on the file list

– Scaled File Get• Scale a file to the size of the screen before sending

Page 7: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

Protocol

SERVERCLIENTWait for connection requestSend Connection Request

Send Command

Wait for Connection acknowledgment

Wait for command

Send data packet 1Receive data packet 1

Send acknowledgementProcess data

Wait for acknowledgement

Send data packet 2

Write data

Receive data packet 2

Page 8: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

Networking Performance

• Maximum Achieved Transfer Rate = 0.5KB/sec

• Possible reasons– Slow internet connection– Slow transfer protocol

• Despite slow transfer rate, file is always received intact

Page 9: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

JPEG Compression

The preferred format of the internet

Page 10: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

Why JPEG?

• Reduced file size– 20:1 compression from bitmap files

• More color depth– 24 bits per pixel vs. 8 per pixel with GIF

• Result: 16 million colors vs. 256 colors

Page 11: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

Disadvantages of JPEG

• Doesn’t handle black-and-white (but handles grayscale)

• Doesn’t handle motion pictures• “Lossy” compression – decompressed

image is different from original (However, it appears almost the same to human eyes, so this is only a problem when the image must be analyzed by machine)

• Takes longer to compress/decompress

Page 12: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

JPEG Encoder

Page 13: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

JPEG Decoder

Page 14: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

S309Picturebox Control

• Handles JPEG files for eVB

• We used this control to:– Display JPEGs– Shrink JPEGs– Enlarge JPEGs

• Shortcomings:– Can’t write JPEGs– Can’t write pixels offscreen

Page 15: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

Image processing functions of our program

• Displays full-size images from a server onto a Pocket PC

• Displays a thumbnail version of an image, if the user desires

• Scales the image to fit the screen, if the user desires

Page 16: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

•USER INTERFACE

•USER PROFILE

Page 17: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

Graphic Presentation:Shows name of project and members of the Team.

Continue button:Goes to the next form.

OPENING WINDOW

Page 18: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

PREVIEW WINDOWPREVIEW WINDOW

Image list: shows the list of images from the server.

Preview frame: shows sample of an image in the list.

IP Address: takes the address of the server.

Disconnect button: disconnects from the server.

Help button

Display button: pulls up the display window.

Refresh button: reconnects to the server.

Connect button: connects to the server.

Page 19: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

HELP WINDOW

Close button: returns back to preview window.

Help frame: shows how to operate the program.

Page 20: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

PREVIEW WINDOWPREVIEW WINDOW

Image list: shows the list of images from the server.

Preview button: shows sample of an image in the list.

IP Address: takes the address of the server.

Disconnect button: disconnects from the server.

Help button

Display button: pulls up the display window.

Refresh button: reconnects to the server.

Connect button: connects to the server.

Page 21: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

DISPLAY WINDOW

Image Frame: shows the final image.

Close button: closes the display window.

Shrink button: compresses the image to a smaller size.

Resize button: resizes the image to its original size.

Page 22: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

•USER PROFILE

Page 23: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.
Page 24: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.
Page 25: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

Final User Profile

• Users will mostly be between the ages of 18- 22 yrs.

• They will have the program operating on their PDAs or Cell phones.

• They will use the program on a weekly basis.

• Most will be college graduates, or enrolled in a higher institution.

Page 26: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

Portable Image File Viewer Demonstration

Page 27: Portable Image File Viewer ENEE 408G: Multimedia Signal Processing Seun Fabayo John Glancy Gordon Krauthamer.

Conclusion

• The Portable Image File Viewer provides an easy way for a Pocket PC user to gain access to image files on networked computers.

• JPEG encoding of files prior to transfer allows for faster download times without losing much quality.


Related Documents