1 / 10

ENEE408G: Capstone Design Project: Multimedia Signal Processing Design Project 1:

ENEE408G: Capstone Design Project: Multimedia Signal Processing Design Project 1: Image Processing and Digital Photography. Outline. JPEC-like Codec Matlab Assignment – Common Mistakes Matlab Programming Tasks Announcement. JPEC-like Codec - Encoder. At beginning of the encoder:

varian
Download Presentation

ENEE408G: Capstone Design Project: Multimedia Signal Processing Design Project 1:

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ENEE408G: Capstone Design Project: Multimedia Signal Processing Design Project 1: Image Processing and Digital Photography ENEE408G Spring 2005 Multimedia Signal Processing

  2. Outline • JPEC-like Codec • Matlab Assignment – Common Mistakes • Matlab Programming Tasks • Announcement ENEE408G Spring 2005 Multimedia Signal Processing

  3. JPEC-like Codec - Encoder • At beginning of the encoder: • !del JPEG_Y.jpg JPEG_Cb.jpg JPEG_Cr.jpg • Apply: JPEG_entropy_encode.m three times • After each use: !rename JPEG.jpg JPEG_x.jpg ENEE408G Spring 2005 Multimedia Signal Processing

  4. JPEC-like Codec - Decoder • Apply: JPEG_entropy_decode.m three times • Before each use: !rename JPEG_x.jpg JPEG.jpg • JPEC-like Codec - Demo ENEE408G Spring 2005 Multimedia Signal Processing

  5. Matlab Assignment – Common Mistakes • Wrong Names: • ENEE408G-Assign1, 408G-Assign1 • Problem 1: • Use 8 bits to quantize the hidden message Z • Z = Z/power(2, 8-1) – 1; • sound(Z, fs, 8); • Initialize Z before using for loop • Z = zeros(1, N/8); or Z= zeros(N/8,1); ENEE408G Spring 2005 Multimedia Signal Processing

  6. Matlab Assignment – Common Mistakes • Problem 2 and 3: • Convert uint8 (unsigned 8-bit integers) to double (double-precision) • Im = imread(‘Girl.bmp’); Im = double(Im); • Im = double(imread(‘Girl.bmp’)); • Initialize before using for loop for summation • [H,W] = size(Im); Im_new = zeros(H,W); • Im_new = zeros(size(Im)); • Work on the whole array (vectors, matrices,…) instead of on the individuals (elements). ENEE408G Spring 2005 Multimedia Signal Processing

  7. Matlab Programming Tasks • Two types of Matlab programs: function or script • Scripts do not accept input arguments or return output arguments. They operate on data in the workspace. • Functions can accept input arguments and return output arguments. Internal variables are local to the function. • Example: Im = imread(‘Girl.bmp’); • Should write functions for Matlab programming tasks • JPEC_encoder(filename, blk_size, comp_factor) ENEE408G Spring 2005 Multimedia Signal Processing

  8. Matlab Programming Tasks • A clear program structure with components: • Show the understanding about the implemented system • Easy to integrate the components together between group members • Example: In JPEC_encoder.m • Member1: ImY_DCT = DCT_transformer(ImY, N); • Member1: ImY_Q = quantizer(ImY_DCT, N, comp_factor); ENEE408G Spring 2005 Multimedia Signal Processing

  9. Announcement • Office Hours: • Time: 5pm – 7pm on Thursdays • Place : Jasmine Lab • Design project 1 [I] Report: • Submit to your group’s folder in ECELABS File server • Deadline: 02/18 (next Friday). • 8:45am for section 0102 and • 12:45pm for section 0101 ENEE408G Spring 2005 Multimedia Signal Processing

  10. Announcement • Next Friday (02/18/2005) • Check in : Digital Camera, Pocket PC • Bring your own microphone, earphone, and converter. • Today: Test your Pocket PC programs for the current projects. • Useful Link • VcDemo: Image and Video Compression Tool http://www-ict.its.tudelft.nl/~inald/vcdemo/ • Wotsit’s Multimedia Format Resource http://www.wotsit.org/ ENEE408G Spring 2005 Multimedia Signal Processing

More Related