Skip to content

vedopar/DCTprocessing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

DCTprocessing

Date: Spring Semester 2013 USC

Project Info:
This is the second project of csci576-Multimedia System Design.
This project contains one app which performs Image DCT and inverse
DCT transformations in different quantization levels and different
delivery modes.

command:
DCTProcessing InputImage quantizationLevel DeliveryMode Latency

InputImage:
  is the image(352x288 , must be a rgb file) to input to your coder
  -decoder.
QuantizationLevel:
  a factor that will decrease/increase compression This value will 
  range from 0 to 7.
DeliveryMode:
  an index ranging from 1, 2, 3. A 1 implies baseline delivery,a 2 
  implies progressive delivery using spectral selection, a 3 implies 
  progressive delivery using successive bit approximation.
Latency:
  a variable in milliseconds, which will give a suggestive “sleep” 
  time between data blocks during decoding. This parameter will be used to 
  “simulate” decoding as data arrives across low and high band width 
  communication networks.

Delivery Modes:
Sequential Mode: Each image block is encoded in a single left-to-right, top-to-bottom scan. You may
assume that each latency iteration pertains to ONE BLOCK. So the process progresses as

Decode data of first block and display …sleep
Decode data of second block and display …sleep


Progressive Mode – Spectral Selection:
The DC coefficients of every image blocks is decoded first and displayed. Next the first
AC coefficients is added for all the blocks and decoded. This goes on till all the
coefficients are added to the decoding process. You may assume that each latency
iteration occurs after EVERY SPECIFIC DCT COFFICIENT for all blocks. So the p
rocess progresses as

Decode all blocks using only DC coefficient (set rest to zero) …sleep
Decode all blocks using only DC, AC1 coefficient …. Sleep
Decode all blocks using only DC, AC1, AC2 coefficient …. Sleep


Progressive Mode – Successive Bit Approximation:
All DC and AC coefficients of all image blocks are decoded first and displayed in a
successive-bit manner. So you will decode all blocks using the all the DC and AC
coefficients, but only using the first significant bit of all coefficients Next, you will
decode all DC and AC coefficients using the first two significant bits of all coefficients
and so on. You may assume that each latency iteration occurs at EACH SIGNIFICANT
BIT usage. So the process progresses as

Decode all blocks using 1st significant bit of all coefficients …Sleep
Decode all blocks using 1st , 2nd significant bit of all coefficients …. Sleep
Decode all blocks using 1st , 2nd , 3rd significant bit of all coefficients …. Sleep


Dependent Libs:
Java SE 1.7.0_21

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages