Spatial scalability by using wavelet transform

Assignment Help Electrical Engineering
Reference no: EM13732664

1.
a. JPEG2000 achieves spatial scalability by using wavelet transform. Suppose you want to enable 3 spatial layers,
show the wavelet decomposition structure (i.e. how is the image decomposed into different subbands) and specify which band(s) each spatial layer includes. If the original image has a size of MxN, what is the spatial resolution of each layer?
b. H.264/SVC achieves temporal scalability by using hierarchical temporal prediction structure. Suppose you want to code a video into a temporal scalable video stream with 3 temporal layers. Illustrate the temporal prediction structure that you would use. If the original video has a frame rate of 30 Hz, what is the frame rate of your layer 1, layer1+ layer 2 and layer 1+layer2+layer 3?

2.Suppose you are given a sequence of video frames taken when the cameraman's hand was not stable, so that successive video frames have some small global shift between each frame. You would like to stabilize this video by finding the shift between each frame and a center frame, and compensate the shift of each frame so that it is aligned with the center frame. (a ) Write a MATLAB program that can estimate the global shift between two frames (f1 and f2), with the following syntax: [vx,vy]=EstiamteShift(f1, f2). (b) Write a MATLAB function for stabilizing 3 frames, which calls your EstimateShift( ) function. Your proposed should have a syntax: [g1,g2,g3]=stabilize(f1,f2,f3), where fi are original i-th frame, gi are stabilized i-th frame.

3.(a) Write a MATLAB script for coding a video frame f2 as a B-frame, using f1 and f3 as two reference frames. For each block, it finds the best intra-prediction, uni-directional inter-prediction (f2 from f1), and bi-directional inter-prediction (f2 from f1 and f3), and use the prediction that has the smallest prediction error (in terms of sum of absolute difference). It then form the prediction error block, and applies DCT transform on the prediction error (same transform block size as the prediction block), quantize the transform coefficients using a uniform quantizer centered at 0 with a constant quantization stepsize QS. The program should have the following syntax:
[f2q]=BframeCoding(f2,f1,f3,QS,fp)
where f2q is the decoded frame for f2, fp is the pointer to the file storing the encoded bits for this frame. Assume the following functions are given to you. Write all other operations that are necessary, including deciding which
mode to use, performing DCT, quantization, inverse DCT. However, you can call dct2( ) and idct2( ) functiona of MATLAB.
• [IntraDirection, PredBlock,]=IntraPred(f, x0,y0,B), where f is the frame being coded, and x0, y0 is the top-left pixel coordinate of the block, and BxB is the block size; IntraMode is the best intra mode found, PredBlock is the best prediction block.
• [vx,vy,PredBlock]=MotionEstimation(f1,f2,x0,y0,B), where f1 is the frame being coded, f2 is the reference frame for motion estimation, vx,vy is the motion vector found, PredBlock is the prediction block
• [ModeBits]=BinaryEncodingMode(BestMode,IntraDirection,vx1,vy1,vx2,vy2); where BestMode is the chosen mode ("0"=intra, "1"=uni-directional inter, "2"=bi-directional inter), IntraDirection is the best intra-prediction direction returned by IntraPred( ), (vx1,vy1) is the motion vector of the current block in f2 with respect to f1, and the (vx2,vy2) is the motion vector of the current block in f2 with respect to f3, both are returned by the MotionEstimation( ) function; ModeBits are the binary bits generated for the mode information.
• [CoeffBits]=BinaryEncodingCoef(QDCTIndics); where QDCTIndics include the blocks of quantized DCT coefficient indices, CoeffBits are the binary bits generated for QDCTIndics.
• AppendBits(Bits, fp): append Bits to the compressed file
(b) Write a main function for coding frames f1, f2, f3, f4, f5 as I-, B-, P-, B-, P-frames. Assume the following functions are available:
[fq]=IframeCoding(f,QS,fp): coding frame f using intra-mode only
[f2q]=PframeCoding(f2,f1,QS,fp): coding frame f2 using either intra-mode or uni-directional prediction from f1 [f2q]=BframeCoding(f2,f1,f3,QS,fp): coding frame f2 using either intra-mode or uni-directional prediction from f1 or bi-directional prediction from f1 and f3. 

Reference no: EM13732664

Questions Cloud

What are the eoq''s for both printing companies : Using the EOQ's above and volume order information provided, what will be the cost of the programs and inserts if they are purchased from Quality Printing
Why were some texans worried about the antislavery movement : Why were some Texans worried about the antislavery movement?
Describe a place or event that you experienced as a child : In the first paragraph, describe a place or event that you saw or experienced as a child. describe your perspective as a child.
How many companies has he or she started : How many companies has he or she started and What did you learn about entrepreneurship from this interview
Spatial scalability by using wavelet transform : a. JPEG2000 achieves spatial scalability by using wavelet transform. Suppose you want to enable 3 spatial layers,show the wavelet decomposition structure (i.e. how is the image decomposed into different subbands) and specify which band(s) each spatia..
Determine the cost of the chiefs plan : Evaluate the current staffing plan. What does it cost? Are 26 officers sufficient to handle the normal workload? Determine the cost of the Chiefs plan. Do you need to implement the Chief's plan or can the current staff handle the load? Explain your ..
An active network is described by the characteristic equatio : It is required that the network be stable and that no component of its response decay more rapidly than K1e^-3t. Show that these conditions are satisfied if K2>0, |K1| 3K1. Crosshatch the area of permitted values of K1 and K2 in the K1-K2 plane.
Describe the methods the leaders employed : Discuss the objectives of the movement and describe the methods the leaders employed. What reactions did the methods and movement as a whole evoke within the different sections of the nation?
Explain how kluckhohn-strodtbeck used to analyze a culture : Explain how the Kluckhohn-Strodtbeck and the Hofstede framework can be used to analyze a culture. Are the Kluckhohn-Strodtbeck and Hofstede frameworks useful for understanding subcultures? Why or why not?

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Find the overall repeater pe for the total length of system

Find the overall repeater Pe in problem 1 if the total length of the system is 600 miles and if the required repeaters that are spaced out about 50 miles per repeater. Hint: Find the total number of repeater need and multiply it by the individual P..

  Determine the average voltage of the waveform

A rectangular waveform has a 50% duty cycle (high for 1/2 acycle and low for 1/2 a cycle). It goes between two voltage levelsof -3 V (low) and +8 V (high), and has a period of100μs. a. Determine the Average voltage of this waveform.

  Determine the number of identical branch circuits needed

The total lighting load is 8 KW.The national electric code requires that no circuit breaker belarger than 20 Arms with a 25% safety margin. Determine the number of identical branch circuits needed for this requirement.

  What is steady state response of system due to an input

assuming k>0 what is steady state the response of the above system due to an input of the form , x(t) = 2sigma(t)+u(t). where sigma(t) denotes unit impulse function and u(t) denotes unit step function

  Find the value of the capacitor that needs to be connected

a 10kW 220 V single phase ac motor is operating at .7 lagging power factor. Find the value of the capacitor that needs to be connected in parallel with the motor, if the power factor is to be improved to .95 lagging

  Calculate the nml and static power dissipation for design

In a pseudo NMOS inverter design the maximum Vol = 0.1 V. If VDD = 2.5 V, IVtI = 0.4 V, unCox = 4 upCox = 100 uA/V^2 , (W/L)n = 0.375 um/0.25 um, find: 1. The value of (W/L)p 2. Is it a maximum or a minimum value for the design.

  What is the total reluctance of the steel and iron sections

The iron section was attached to the ceiling while the steel section was placed on a horizontal support so that 1-mm airgaps were left between the sections. The mass density of steel is7.8 g/cm3. The students consider triggering therelay using a c..

  How much usable electrical power would the generator deliver

A three-phase 600VAC generator delivers 2000KVA at a lagging power factor of 81%. If the generator is 86% efficient how much horsepower is required to operate it If the generator outputs its rated voltage what would the line current

  Determine the overall gain when the amplifier is connected

The first stage is a transconductance amplifier with an input resistance of 2k ohms, an output resistance of 100k and a gm=0.002A/V. The second stage is a voltage amplifier with an input resistance of 5k, an output resistance of 18 ohms and a volt..

  How much profit do you make on each wafer of markon chip

Your Woods chip will be 150 mm2 and will make a profit of $20 per defect-free chip. Your Mark on chip will be 250 mm2 and will make a profit of $25 per defect-free chip. Your fabrication facility will be identical to that for the Power5. Each wafe..

  Determine the rom size and contents to implement a function

Determine the ROM size and contents to implement a function which converts a sign and magnitude number from -5 to +6 to two's complement format.

  Find the voltage ratio of a standard buck-boost transformer

A) the required step-up voltage ratio for satisfactory performance. B) the voltage ratio of a standard buck-boost transformer that most closely meets the requirements of the load. C) the voltage at the load with the buck-boost transformer installed.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd